// components/my-tradeIndexHeader/my-tradeIndexHeader.js
import { createStoreBindings, storeBindingsBehavior } from 'mobx-miniprogram-bindings'
import {store} from '../../store/store'
Component({
  /**
   * 组件的属性列表
   */
  behaviors:[storeBindingsBehavior],
  storeBindings:{
    store,
    fields:{
      isNavToTrade:'isNavToTrade'
    },
    actions:{
      updateNum1:"updateNum1"
    }
  },
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {
    isClick:false
  },

  /**
   * 组件的方法列表
   */
  methods: {
    goBack(){
      console.log(1111111111);
     this.updateNum1(this.data.isClick)
    }
  }
})
